﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DirectUI.Mobile.UI.Controls;
using RecorderSample.View;
namespace RecorderSample
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            this.WindowState = FormWindowState.Maximized;
            DirectUIHost host = new DirectUIHost();
            host.Bounds = this.ClientRectangle;
            PageManager pm = new PageManager();
            pm.Pages.Add(new AudioItemListPage());
            pm.Pages.Add(new AudioRecordPage());
            pm.Bounds = host.Bounds;
            this.Controls.Add(host);
            host.Add(pm);
        }
    }
}